/*
 * PayWayListItem.java
 * business
 *
 * Created by ChenTao on 2017/2/22.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.PayWay;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.PayWayHolder;

/**
 * 支付方式
 *
 * <p>Created by ChenTao(chentao7v@gmail.com) on 2017/2/22 9:58
 */
public class PayWayListItem extends DisplayListItem<PayWayHolder, PayWay> {

    public PayWayListItem(PayWay payWay) {
        super(payWay);
    }

    @Override
    public void onShow(Context context, PayWayHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return PayWayListItem.class.getSimpleName();
    }

    @Override
    public Class<PayWayHolder> getViewHolderClazz() {
        return PayWayHolder.class;
    }
}
